<?php


namespace app\common\validate;


use think\Validate;

class Contact extends Validate
{
//全局验证规则
    protected $rule = [
        'address|地址' => 'require',
        'mailbox|邮箱' => 'require|email',
        'tel|电话' => 'require'
    ];
}